package com.baichang.taoshunda.utils.rongyun.models;


import com.baichang.taoshunda.utils.rongyun.util.GsonUtil;

/**
 * 群组用户信息。
 */
public class UserInfo {
    // 用户 Id。
    String userName;
    String userPortrait;
    String createTime;

    public UserInfo(String userName, String userPortrait, String createTime) {
        this.userName = userName;
        this.userPortrait = userPortrait;
        this.createTime = createTime;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPortrait() {
        return userPortrait;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUserPortrait(String userPortrait) {
        this.userPortrait = userPortrait;
    }

    @Override
    public String toString() {
        return GsonUtil.toJson(this, UserInfo.class);
    }
}
